package model;

import java.util.Vector;

public class PersonModel {
	private String name;
	private Sex sex;
	private int age;
	private DayPlanModel dpm;
	private String location;
	public static Vector<PersonModel> list=new Vector<PersonModel>();
	
	//here we go
	public String[] actiuni={"turns everything off", "wakes up in", "opens window", "closes window", "goes to bed", "leaves","comes home","drinks", "is resting","takes a bath", "showers","eats","enters the","uses","turns on", "turns off", "sets"};
	public boolean[] poate=new boolean[17];
	public String[] obiecte={"Toilet", "Sink", "Hair Dryer", "Gas cooker", "Refrigerator", "Vacuum Cleaner",
			"TV","Air Conditioning", "Computer","Radioator", "The Light","Heating","Stove","Electric_plate","Coffe Filter", "Toaster", "Washing Machine"};
	public boolean[] broasca =new boolean[17];
	public String[] nivele={"Low", "Medium", "High"};
	public int[] timp=new int [30];
	//
	
	public PersonModel()
	{
		name=new String();
		sex=null;
		age=0;
		dpm=null;
	}
	public PersonModel(String name,Sex sex, int age)
	{
		this.name=name;
		this.sex=sex;
		this.age=age;
		//objectList=new Vector<ObjectModel>();
	}

	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Sex getSex() {
		return sex;
	}

	public void setSex(Sex sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public DayPlanModel getDpm() {
		return dpm;
	}

	public void setDpm(DayPlanModel dpm) {
		this.dpm = dpm;
	}
	
	public String toString()
	{
		return "\nName: "+name+"\nSex: "+sex.toString()+"\nAge: "+age+dpm.toString();
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
	public boolean getPoate(int i) {
		return poate[i];
	}
	public void setPoate(boolean poate, int i) {
		this.poate[i] = poate;
	}
	public boolean getBroasca(int i) {
		return broasca[i];
	}
	public void setBroasca(boolean broasca, int i) {
		this.broasca[i] = broasca;
	}
	public int getTimp(int i) {
		return this.timp[i];
	}
	public void setTimp(int i, int timp) {
		this.timp[i] = timp;
	}
	
}
